<?php
function smarty_function_comment($params, &$smarty)
{
	$strName 	= isset($params['name']) ? $params['name'] : '';
	$strDefault	= isset($params['default']) ? $params['default'] : '';
	$intShow	= isset($params['show']) ? $params['show'] : 0;
	$smarty->assign('strName',		$strName);
	$smarty->assign('strDefault',	$strDefault);
	$smarty->assign('intShow'	,	$intShow);
	$smarty->display(ROOT_DIR . '/library/Vfriend/Plugins/Tpl/comment.tpl');
}
?>